// vue.config.js
const webpack = require("webpack");

module.exports = {
    configureWebpack: {
        plugins: [
            new webpack.DefinePlugin({
                __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: JSON.stringify(false), // 或者 `true`
            }),
        ],
    },
    devServer: {
        port: 6868,
    },
    pwa: {
        iconPaths: {
            faviconSVG: "img/icons/favicon.ico",
            favicon32: "img/icons/favicon.ico",
            favicon16: "img/icons/favicon.ico",
            appleTouchIcon: "img/icons/favicon.ico",
            maskIcon: "img/icons/favicon.ico",
            msTileImage: "img/icons/favicon.ico",
        },
    },
};
